package com.kongjs.common.datasource.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Collections;
import java.util.List;


@ConfigurationProperties(prefix = "spring.datasource")
public class DynamicDatasourceProperties {
    private List<DataSourceProperties> dynamic = Collections.emptyList();

    public List<DataSourceProperties> getDynamic() {
        return dynamic;
    }

    public void setDynamic(List<DataSourceProperties> dynamic) {
        this.dynamic = dynamic;
    }
}
